const lng = 96; // 经度;
const lat = 30; // 纬度;
const step = 1;
let w = 0;
let h = 0;

const mock = [];

while (h < 10) {
  while (w < 20) {
    const x1 = lng + w;
    const y1 = lat + h;
    const x2 = lng + w + step;
    const y2 = lat + h + step;
    mock.push({
      coords1: [x1, y1],
      coords2: [x2, y2],
      value: h * 4 + w * 3,
      id: Math.floor(Math.random() * 1000),
    });
    w += step;
  }
  w = 0;
  h += step;
}

export default mock;
